package org.apache.ibatis.demo.entity;


/**
 * @fileName: Blog
 * @author: zengqf3
 * @date: 2021/3/11 20:33
 * @description:
 */

public class Blog {

    private Integer id;

    private String name;

    private String title;

    public Blog(Integer id, String name, String title) {
        this.id = id;
        this.name = name;
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
